diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-11-26 13:30:56 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-11-26 13:30:56 +0000 |
| commit | 52444b565aa3fa5719df3acf490eb11b9337511c (patch) | |
| tree | 03e266c423310eefa25c96ca8f9a457149eb521e /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 844ebd7422818d574a9438464d5eb03c0dbb32ca (diff) | |
Test WasmBinaryFormatModules directly
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 19 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..c5d8ef4c --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,19 @@ + +module.wasm: file format wasm 0x1 + +Section Details: + +Global[2]: + - global[0] i32 mutable=1 <Global1> - init i32=7 + - global[1] i64 mutable=0 <Global2> - init i64=9 +Custom: + - name: "linking" + - symbol table [count=2] + - 0: G <Global1> global=0 [ binding=global vis=default ] + - 1: G <Global2> global=1 [ binding=global vis=default ] +Custom: + - name: "name" + - global[0] <Global1> + - global[1] <Global2> + +Code Disassembly: |
